package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the o2o_loan_user database table.
 * 
 */
@Entity
@Table(name="o2o_loan_user")
@NamedQuery(name="O2oLoanUser.findAll", query="SELECT o FROM O2oLoanUser o")
public class O2oLoanUser implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="back_time")
	private Date backTime;

	@Column(name="bank_applyno")
	private String bankApplyno;

	@Column(name="bank_status")
	private String bankStatus;

	@Column(name="customer_name")
	private String customerName;

	@Column(name="customer_type")
	private String customerType;

	@Column(name="document_no")
	private String documentNo;

	@Column(name="document_type")
	private String documentType;

	@Column(name="loan_id")
	private String loanId;

	@Column(name="loanapply_no")
	private String loanapplyNo;

	private String notation;

	private String sex;

	@Column(name="spouse_id")
	private String spouseId;

	private byte type;

	@Column(name="user_full_name")
	private String userFullName;

	@Column(name="user_name")
	private String userName;

	@Column(name="user_name_pinyin")
	private String userNamePinyin;

	@Column(name="user_phone")
	private String userPhone;

	@Column(name="user_surname")
	private String userSurname;

	public O2oLoanUser() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getBackTime() {
		return this.backTime;
	}

	public void setBackTime(Date backTime) {
		this.backTime = backTime;
	}

	public String getBankApplyno() {
		return this.bankApplyno;
	}

	public void setBankApplyno(String bankApplyno) {
		this.bankApplyno = bankApplyno;
	}

	public String getBankStatus() {
		return this.bankStatus;
	}

	public void setBankStatus(String bankStatus) {
		this.bankStatus = bankStatus;
	}

	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public String getDocumentNo() {
		return this.documentNo;
	}

	public void setDocumentNo(String documentNo) {
		this.documentNo = documentNo;
	}

	public String getDocumentType() {
		return this.documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public String getLoanId() {
		return this.loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}

	public String getLoanapplyNo() {
		return this.loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public String getNotation() {
		return this.notation;
	}

	public void setNotation(String notation) {
		this.notation = notation;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSpouseId() {
		return this.spouseId;
	}

	public void setSpouseId(String spouseId) {
		this.spouseId = spouseId;
	}

	public byte getType() {
		return this.type;
	}

	public void setType(byte type) {
		this.type = type;
	}

	public String getUserFullName() {
		return this.userFullName;
	}

	public void setUserFullName(String userFullName) {
		this.userFullName = userFullName;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserNamePinyin() {
		return this.userNamePinyin;
	}

	public void setUserNamePinyin(String userNamePinyin) {
		this.userNamePinyin = userNamePinyin;
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserSurname() {
		return this.userSurname;
	}

	public void setUserSurname(String userSurname) {
		this.userSurname = userSurname;
	}

}